package com.yly.doctorapp.base;

import android.support.multidex.MultiDexApplication;
import android.widget.PopupWindow;

import com.apkfuns.logutils.LogLevel;
import com.apkfuns.logutils.LogUtils;
import com.yly.doctorapp.bean.UserBean;

import org.xutils.x;

public class DoctorAppApplication extends MultiDexApplication {
    public static UserBean mUserBean = null;
    public static PopupWindow mPopup = null;
    @Override
    public void onCreate() {
        super.onCreate();
        x.Ext.init(this);
        x.Ext.setDebug(true); // 是否输出debug日志, 开启debug会影响性能.
        // 日志打印初始化
        LogUtils.getLogConfig()
                .configAllowLog(true) // 是否开启或关闭日志
                .configTagPrefix("WisdomTransit")
                .configFormatTag("%d{HH:mm:ss:SSS} %t %c{-5}")
                .configShowBorders(false) // 是否显示Log边框
                .configLevel(LogLevel.TYPE_VERBOSE);
    }
}
